package com.directv.z8training.ex2;

public class FactoryProducer {
	
	public static UIFactory getOS (String choice){
		if(choice.equalsIgnoreCase("WIN")){
	         return new WinUIFactory();
	         
	      }else if(choice.equalsIgnoreCase("MAC")){
	         return new MacUIFactory();
	      }
		return null;
		
	}

}
